import { ViewBackState } from './../../../../framework/view/ViewConsts';
import { ViewLayer, ViewMode } from "../../../../framework/view/ViewConsts";
import { ViewCtrlBase } from "../../../../framework/view/ViewCtrlBase";
import ViewTips from "../view/ViewTips";


export default class VCTips extends ViewCtrlBase {
    public static viewName: string = "ViewTips";
    public static viewMode: ViewMode = ViewMode.MULTI;
    public viewLayer: ViewLayer = ViewLayer.Layer_MsgBox;
    public viewClass: (typeof ViewTips) = ViewTips;

    public str:string = "";
    onOpen(){
        super.onOpen();
        this.str = this.params.str;
    }

    onClose(){
        super.onClose();
    }
    /**注册系统事件 */
    registEvent(): void {
        
    }

    checkCanBack(){
        return ViewBackState.Pass;
    }
}